<?php


namespace App\Constants\Model;


class EmployerBalance
{
    /**
     * 账目类型：1充值，2发布任务扣款，3任务申请退款，4修改任务返款，5修改任务扣款，6任务审核退款后单条任务返款
     */
    const ACCOUNT_TYPE_RECHARGE = 1;
    const ACCOUNT_TYPE_TASK_PUBLISH = 2;
    const ACCOUNT_TYPE_TASK_RETURN = 3;
    const ACCOUNT_TYPE_TASK_UPDATE_ADD = 4;
    const ACCOUNT_TYPE_TASK_UPDATE_SUB = 5;
    const ACCOUNT_TYPE_TASK_RETURN_ONLY = 6;


    const ACCOUNT_TYPE_TEXT = [
        self::ACCOUNT_TYPE_RECHARGE => '充值',
        self::ACCOUNT_TYPE_TASK_PUBLISH => '发布任务扣款',
        self::ACCOUNT_TYPE_TASK_RETURN => '任务退款',
        self::ACCOUNT_TYPE_TASK_UPDATE_ADD => '修改任务返款',
        self::ACCOUNT_TYPE_TASK_UPDATE_SUB => '修改任务扣款',
        self::ACCOUNT_TYPE_TASK_RETURN_ONLY => '任务单条退款',
    ];
}